
#include<stdio.h>
#include<Mesh/_Func_.h>
#include<tool/libcell_tools_octree.h>
#include<tool/libcell_tools_kd_node.h>
#ifndef PRE_HANDLE_H_
#define PRE_HANDLE_H_


#ifdef __cplusplus
extern "C" {
#endif


double get_fac_from_model(double** model,int len);


OC_Node* get_oc_node_according_to_size(Mesh* m, double len);

Mesh* downsampling_points(Mesh* m, double len);
void my_adjust_normal(Node* points_n,KD_Node*kdtree ,int is_inverse);



#ifdef __cplusplus
}
#endif
#endif